package com.example.springbootws;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class SpringbootWsApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootWsApplication.class, args);
    }

//    private static void testScope(ApplicationContext context) {
//        Video video1 = (Video) context.getBean("video");
//        Video video2 = (Video) context.getBean("video");
//        //靠匹配内存地址，== 是匹配内存地址
//        System.out.println(video1 == video2);
//    }
}
